using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using OgilvyOne.IDAL;
using OgilvyOne.Model;
using System.Data.SqlClient;
using OgilvyOne.DALFactory;

namespace OgilvyOne.BLL.cms
{
    public class BXjpeCard
    {
        // Methods
        public bool DeleteByIdentity(int id)
        {
            return CreateInstance.CreateXjpeCard().DeleteByIdentity(id);
        }

        public MXjpeCard GetRowByIdentity(int id)
        {
            return CreateInstance.CreateXjpeCard().GetRowByIdentity(id);
        }

        public DataSet GetRows(string condition)
        {
            return CreateInstance.CreateXjpeCard().GetRows(condition);
        }

        public int Insert(MXjpeCard data)
        {
            return CreateInstance.CreateXjpeCard().Insert(data);
        }

        public bool ModifyByIdentity(MXjpeCard data)
        {
            return CreateInstance.CreateXjpeCard().ModifyByIdentity(data);
        }

    }
}
